<template>
    <div>
        <div class="home1">
            <!-- <img class="img1" src="@/assets/logo2.png" /> -->

            <div class="bgadapp">
                <img class="home7" src="@/assets/1.png" />

            </div>
        </div>


        <div class="home">
            
            <div class="home_1">
                <span class="ht1">Rouse首个创新性</span>
                <div class="h-txt">

                    <span>全链价值协议</span>
                </div>
                <div>
                    Rouse是一个非托管的、无需信任、去中心化的链上金融协议与PancakeSwap V3流动性协议合作提供服务和支持，以及众多区块链和Dex兼容和集成，并为流动性提供者寻求最大化的资金策略。平台采用自动执行的双而策略，使用自动触发来进行复利.管理、分配等实践。
                </div>
                <van-transtion name="fade-up" duration=2600>
                    <img class="bg2" src="@/assets/2.png"/>

                </van-transtion>
               
                

                <div class="sy">静享收益</div>
                <div>一个非托管的、无需信任、去中心化的链上金融协议与PancakeSwap V3流动性协议合作提供服务和支持，以及众多区块链。</div>
                <div class="home_2">
                    <img class="l" src="@/assets/l1.png"/>
                    <div class="lt">
                        <div class="lt1">智能合约</div>
                        <div>Bull coins意味着一个智能合约。是一个去中心化的区块链通过建立一个真正的数字联盟来管理自己，简化了正式验证这项技术在数学上确保了交易代码的准确性，并提高了智能合约的安全性。是一个通用的、自我进化的加密数字账本。最大的优势是其去中心化的合约技术，以简单的功能模块方式在传统区块链上实现各种操作。</div>

                    </div>
                </div>

                <div class="home_2">
                    <img class="l2" src="@/assets/l2.png"/>
                    <div class="lt2">
                        <div class="lt1">去中性化产品</div>
                        <div>Rouse coins意味着一个智能合约。是一个去中心化的区块链通过建立一个真正的数字联盟来管理自己，简化了正式验证这项技术在数学上确保了交易代码的准确性，并提高了智能合约的安全性。是一个通用的、自我进化的加密数字账本。最大的优势是其去中心化的合约技术，以简单的功能模块方式在传统区块链上实现各种操作。</div>

                    </div>
                </div>

                <div class="home_2">
                    <img class="l3" src="@/assets/l3.png"/>
                    <div class="lt3">
                        <div class="lt1">发行总量</div>
                        <div>今天的Rouse Dao，是要先有共识在有币。币的发行量:0流通由共识者发行，人人都是发币方理念:打破传统常规，让市场当发币方，用牛市托底，人人赚钱机制：双币铸造，极致通缩，螺旋上涨丢弃所有权限，机制自动执行，展现人性的恐惧与贪婪，一场没有硝烟的市场博弈Rouse Dao收紧流通＋强制铸造升值</div>
                    </div>
                </div>

                <div class="home_3">
                    <img src="@/assets/3.png" style="width: 200px;"/>

                    <div class="lt5">
                    <span>1.无APP、无DAPP、无需钱包授权</span>
                    <span>2.颠覆传统玩法、合约开源、权限丢弃</span>
                    <span>3.双币铸造、买卖都涨、资产被动增值</span>
                    <span>4.你的能力大小、决定你的钱包大小</span>
                    </div>
                </div>

                <div class="home_4">
                        <div class="t1">铸造权</div>
                        <div>用户持有的可随时铸造成$Rouse。整个DNH进场挖矿的10%BNB拉升DNA，并且还可以添加流动性，挖出生态DNBS打造世界上最贵的治理代币，</div>
                </div>

               


            </div>



        </div>
        <div class="foot">
                    <div class="f1">
                        <div class="f2">
                            <img class="f1_img" src="@/assets/f1.png"/>
                            <spa>https://twitter.com/FormalRouse</spa>
                        </div>
                        <div class="f2">
                            <img class="f1_img" src="@/assets/f2.png"/>
                            <spa>https://t.me/Rouse_Official</spa>
                        </div>
                        <div class="f2">
                            <img class="f1_img" src="@/assets/f3.png"/>
                            <spa>Youtube:@RouseOfficial</spa>
                        </div>
                        <div class="f2">
                            <img class="f1_img" src="@/assets/f4.png"/>
                            <spa>@Rouse_Official</spa>
                        </div>
                        <div class="f2">
                            <img class="f1_img" src="@/assets/f5.png"/>
                            <spa>@RouseOfficial</spa>
                        </div>
                    </div>
                    <img class="foot_img" src="@/assets/1.png"/>
         </div>

    </div>
</template>
  
<script>
// @ is an alias to /src

import i18n from '@/i18n';
import { Notify } from 'vant';
export default {
    name: 'HomeCopy2',
    data() {
        return {
            isZh: true
        };
    },
    created() {

        if (i18n.locale == 'zh') {
            this.$store.state.isZh = true
        } else {
            this.$store.state.isZh = false
        }
    },
    methods: {
        goUrl(url) {
            window.open(url, '_blank')
        },
        goNav() {
            this.$router.push('/nav')
        },
        goWeb() {
            window.open("https://app.uniswap.org/", '_self')
        },
        goPrice() {
            window.open("https://m.ave.ai/token/0x787c17e7f05837e3ad85922a4343078079899a95-arbitrum", '_self')
        },
        clickPledge() {
            this.$router.push('/pledge/15')
        },
        share() {
            if (this.$store.state.address == '') {
                Notify(this.$t('m.no_connect'))
                return false
            }
            var element = this.createElement(this.$store.state.url + this.$store.state.address);
            element.select();
            element.setSelectionRange(0, element.value.length);
            document.execCommand('copy');
            element.remove();
            Notify({ type: 'success', message: this.$t("m.share_copy") });
        },
        //创建临时的输入框元素
        createElement(text) {
            var isRTL = document.documentElement.getAttribute('dir') === 'rtl';
            var element = document.createElement('textarea');
            // 防止在ios中产生缩放效果
            element.style.fontSize = '12pt';
            // 重置盒模型
            element.style.border = '0';
            element.style.padding = '0';
            element.style.margin = '0';
            // 将元素移到屏幕外
            element.style.position = 'absolute';
            element.style[isRTL ? 'right' : 'left'] = '-9999px';
            // 移动元素到页面底部
            let yPosition = window.pageYOffset || document.documentElement.scrollTop;
            element.style.top = `${yPosition}px`;
            //设置元素只读
            element.setAttribute('readonly', '');
            element.value = text;
            document.body.appendChild(element);
            return element;
        }
    }

}
</script>
<style scoped>
.home1 {
    display: flex;
    flex-direction: column;
    background-color: #161616;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    margin: auto;
}

.bgadapp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;


}
.home_1{
    display: flex;
    padding: 0 10px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.ht1{
    font-size: 20px;
    font-weight: bold;
}
.h-txt span {

font-size: 25px;
font-family: Source Han Sans CN;
font-weight: bold;
color: #FFFFFF;
line-height: 50px;

background: linear-gradient(0deg, #FFC000 0%, #EE822F 100%);
background-clip: text;
-webkit-text-fill-color: transparent;
}

.bg1 {
    height: auto;
    width: 100%;

}

.div-bg1 {
    margin: 30px 0;
    width: 100%;
}
.bg2 {
    width: 260px;
    height: auto;
    margin-top: 20px;
}
.sy{
    color: #EE822F;
    font-size: 20px;
    margin: 25px 0; 
}

.home {
    padding: 0 25px;
    max-width: 500px;
    margin: auto;
    color: #ebe6e6;
    background-color: #161616;
    font-size: 12px;
    line-height: 18px;
    height: auto;
    padding-bottom: 100px;
    margin-top: -58px;

}
.home_2{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.l{
    height: 300px;
    padding-top: 30px;
}
.l2{
    height: 70px;
    padding-top: 30px;
}
.l3{
    height: 250px;
    padding-top: 30px;
}
.lt{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: -210px;
    
}
.lt2{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
    
}
.lt3{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: -160px;
    
}
.lt1{
    color: #FFBF00;
    font-size: 20px;
    margin-bottom: 20px;
}



.foot-logo {
    width: 60px;
    height: auto;
}
.home_3{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.lt5{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.home_4{
    display: flex;
    flex-direction: column;
    background-color: #EE822F;
    border-radius: 10px;
    color: #161616;
    align-items: center;
    padding: 30px 20px;
    font-size: 20px;
    line-height: 28px;
    margin-top: 30px;
}
.t1{
    font-size: 25px;
    margin-bottom: 10px;
}
.foot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 25px;
    background: #000;
    align-items: center;
    color: #fff;
    max-width: 500px;
    margin: 0 auto;
    font-size: 12px;
}
.f2{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.foot_img{
    width: 80px;
}
.f1_img{
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.home7 {
    width: 180px;
    height: auto;
    padding: 36px 0;

}

</style>
  
  